<?php
class Autoevaluacion_Form_AsignarListaFactores extends Form_Base{
	
		
	public function __construct($options = null) {
		parent::__construct($options);
	}
	
	public function init() {
	    $this->setName('asignar_lista');
		$this->setMethod("post");
		
		$domConfig = Zend_Registry::get('domConfig');
		
		$codlista = new Zend_Form_Element_Hidden("codlista");
		
		$subtipolista = new Zend_Form_Element_Select('codlistafactores');
		$subtipolista->setLabel("Plantillas factores :");
		$subtipolista->setRegisterInArrayValidator(false);
		$subtipolista->addMultiOption(null, "-- Sin asignación --");

		$submit = new Zend_Form_Element_Submit('btnSubmit');
		$submit->setLabel('Asignar');
		
		$this->addElements ( array ( $codlista,
									 $subtipolista,
									 $submit
								 ) );
		
		$this->loadTableDecorators();
//		$this->makeStatic();
	}
	
}